package com.sxf.webservice;

import java.util.List;

import javax.annotation.Resource;
import javax.jws.WebMethod;
import javax.jws.WebService;

import org.springframework.stereotype.Service;

import com.sxf.domain.viewbean.UserVO;
import com.sxf.querybean.UserQuery;
import com.sxf.service.UserService;

/**访问地址:http://127.0.0.1:9999/userService?wsdl
 * @author shixiafeng
 *
 */
@Service
@WebService(serviceName = "userService")
public class UserServiceEndPoint {
	@Resource
	private UserService us;

	@WebMethod
	public List<UserVO> queryOne(UserQuery u) {
		return us.queryList(u);
	}
}
